<template>
  <router-view />
</template>

<script setup>
import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme)
  })
})
</script>

<style>
  .el-tabs{
    height:100%!important;
  }
  .el-tabs__content{
    height:calc(100% - 40px);
  }
  .el-tab-pane{
    height:100%;
  }
</style>
